package com.base;

import com.api.config.DefaultFeignConfig;
import com.sky.properties.AliOssProperties;
import com.sky.properties.WeChatProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableConfigurationProperties({WeChatProperties.class, AliOssProperties.class})
@EnableFeignClients(basePackages = "com.api.client",defaultConfiguration = DefaultFeignConfig.class)
public class BaseApplication {
    public static void main(String[] args) {
        SpringApplication.run(BaseApplication.class, args);
    }
}
